<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:include href="core\form.xsl"/>
	<xsl:include href="core\level0.xsl"/>
	
<xsl:template match="page">
	<xsl:call-template name="page_content"/>
</xsl:template>

<xsl:template name="page_content">
<table cellspacing="0" cellpadding="4" width="100%">
	<tr><td align="center">
<a href="premium_finance_companies.asp" class="linkbold" title="Premium Finance Companies List"><font color="{$color_main_first1}">Premium Finance Companies List</font></a> &#160;|&#160; <a href="premium_finance_companies.asp?fc=all" class="linkbold" title="All Finance Companies"><font color="{$color_main_first1}">All Finance Companies</font></a>
	</td></tr>
</table>
<xsl:call-template name="title_page">
	<xsl:with-param name="titleText">Finance Company Details</xsl:with-param>
</xsl:call-template>
<!-- 	<table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    	<td align="right" width="100%" background="images/red_line.gif"><img src="images/sphere.gif" alt="" width="38" height="23" border="0"/></td><td align="right"><h1 class="titlepageall"><nobr>Finance Company Details</nobr></h1></td>
	</tr>
    </table> -->
	
	<center>
	<table cellspacing="0" cellpadding="4">
	<!-- <tr>
		<td colspan="2">
			<table border="0" cellspacing="0" cellpadding="4" width="100%">
			<tr>
				<td>
					<a href="premium_finance_companies.asp">premium list</a> &#160; <a href="premium_finance_companies.asp?all=1">all finance companies</a>
				</td>
				<td align="right">
		<xsl:if test="finance_company_details/detail/id=35">
			&#160;	<a href="http://www.yachtcouncil.com/link_redir.asp?cid={finance_company_details/detail/id}&amp;fill_c=1&amp;furl=https://ssl12.domainnameservers.net/boatl2/cgi-local/captgaryform.shtml" target="_blank">Fill out a credit application online</a>

		 &#160;<a href="http://www.yachtcouncil.com/link_redir.asp?cid={finance_company_details/detail/id}&amp;print_c=1&amp;furl={$root}forms/LoanApplication.doc&amp;finance=1" target="_blank">Print out</a>
		</xsl:if>
		<br/>
	</td>
  </tr> 
  </table>
  </td>	
  </tr>		-->

	<tr><td colspan="2">
			<h1><xsl:value-of select="finance_company_details/detail/main_header" disable-output-escaping="yes"/></h1>
	</td></tr>

	<tr><td colspan="2">
		<h3><xsl:value-of select="finance_company_details/detail/rate_header" disable-output-escaping="yes"/></h3>
		</td></tr>

		<xsl:for-each select="finance_companies_programs/program">
		<tr>
			<td><b><xsl:value-of select="curr_rate"/></b></td>
			<td><i><xsl:value-of select="note"/></i></td>	
		</tr>
		</xsl:for-each>
	<tr><td colspan="2" align="center">
		<table><tr><td><xsl:value-of select="finance_company_details/detail/verbage" disable-output-escaping="yes"/></td></tr></table>
	</td></tr>

	<tr><td colspan="2">
		<table width="100%"><tr><td>
		<xsl:value-of select="finance_company_details/detail/contacts" disable-output-escaping="yes"/>
		</td></tr></table>
		</td></tr>
		

	<tr>
		<td colspan="2" align="center">
			<xsl:if test="string-length(finance_company_details/detail/www)&gt;0">
				<a href="http://www.yachtcouncil.com/link_redir.asp?cid={finance_company_details/detail/id}&amp;furl={finance_company_details/detail/www}&amp;finance=1" target="_blank">
				<xsl:value-of select="finance_company_details/detail/www"/></a>
			</xsl:if>
			&#160;<br/>
			<!-- <xsl:if test="string-length(finance_company_details/detail/email)&gt;0">
							<a href="main.asp?-finance_companies_email.asp-&amp;fcompany_id={finance_company_details/detail/id}&amp;fc_email={finance_company_details/detail/email}">
								<xsl:value-of select="finance_company_details/detail/email"/>
							</a>
			</xsl:if> -->
			<xsl:if test="string-length(finance_company_details/detail/email)&gt;0">
				<a href="main.asp?-finance_companies_email.asp-&amp;fcompany_id={finance_company_details/detail/id}&amp;fc_email={finance_company_details/detail/email}">
					<xsl:value-of select="finance_company_details/detail/email"/>
				</a>
			</xsl:if>
			&#160;
		</td>
	</tr>

	<tr><td colspan="2">
		<center>
			<xsl:if test="string-length(finance_company_details/detail/logo)>4">
				<img border="0" vspace="2" hspace="4">
				<xsl:attribute name="src">
					<xsl:value-of select="$media_path"/>
					<xsl:value-of select="concat('/images/logos/other_companies/finance/',finance_company_details/detail/id,'/',finance_company_details/detail/id,'_b_',finance_company_details/detail/logo)"/>
				</xsl:attribute>
				<xsl:attribute name="alt">
					<xsl:value-of select="name" disable-output-escaping="yes"/>
				</xsl:attribute>
				</img>
			</xsl:if>
		</center></td></tr>
	<tr><td colspan="2">
		<b><xsl:value-of select="finance_company_details/detail/bottom_footer_line"  disable-output-escaping="yes"/></b>
		</td></tr>
		
	<tr><td colspan="2">
		<table><tr><td>
		<xsl:value-of select="finance_company_details/detail/disclaimer" disable-output-escaping="yes"/>
		</td></tr></table>
		</td></tr>

	<!-- <tr><td colspan="2"><a href="premium_finance_companies.asp">Premium Companies List</a></td></tr> -->
	</table>
</center>
</xsl:template>

</xsl:stylesheet>
